package com.gushenge.core.models

import com.gushenge.core.listeners.ResultListener
import com.gushenge.core.listeners.SimpleResultListener

interface WealModel {
    fun getServer(type: Int, p: Int, listener: ResultListener)
    fun selectSign(listener: ResultListener)
    fun reSign(date:String,listener:ResultListener)
    fun sign(listener:ResultListener)
    fun getTasks(listener: ResultListener)
    fun pointDetail(type:Int,p:Int,listener: ResultListener)
    fun pointsMall(type:Int,p:Int,listener: ResultListener)
    fun deal(sort: Int, system: Int, smoney: String, emoney: String, keyword: String, p: Int, listener: ResultListener)
    fun addDeal(title: String, introduction: String, content: String, gname: String, sname: String, gid: String, twoPassword: String, images: String, xuid: String, money: String, system: Int, listener: ResultListener)
    fun gift(p: Int, keyword: String, listener: ResultListener)
    fun dealDynamic(p: Int, listener: ResultListener)
    fun myDeal(type: Int, p: Int, listener: ResultListener)
    fun dealDelete(id: String, listener: ResultListener)
    fun dealSettle(type: Int, goods_id: String, money: String, listener: ResultListener)
    fun dealOrderSelect(oid: String, listener: ResultListener)
    fun dealProductDetail(id: String, listener: SimpleResultListener.() -> Unit)
}